package com.fhz.a1909;

import javax.inject.Named;

import dagger.Module;
import dagger.Provides;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.ActivityComponent;

/**
 * 时间:2022/3/23
 *
 * @author msfeng
 * 简述: TODO
 */
@Module
@InstallIn({ActivityComponent.class})
public class UserMoudle {

    @Provides
    public  User getUser(){
        return new User("xiaoming");
    }
}

